﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001103 RID: 4355
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectChessRogueSubStoryCsReq : IMessage<SelectChessRogueSubStoryCsReq>, IMessage, IEquatable<SelectChessRogueSubStoryCsReq>, IDeepCloneable<SelectChessRogueSubStoryCsReq>, IBufferMessage
	{
		// Token: 0x1700372C RID: 14124
		// (get) Token: 0x0600C2DD RID: 49885 RVA: 0x0020F367 File Offset: 0x0020D567
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectChessRogueSubStoryCsReq> Parser
		{
			get
			{
				return SelectChessRogueSubStoryCsReq._parser;
			}
		}

		// Token: 0x1700372D RID: 14125
		// (get) Token: 0x0600C2DE RID: 49886 RVA: 0x0020F36E File Offset: 0x0020D56E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectChessRogueSubStoryCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700372E RID: 14126
		// (get) Token: 0x0600C2DF RID: 49887 RVA: 0x0020F380 File Offset: 0x0020D580
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectChessRogueSubStoryCsReq.Descriptor;
			}
		}

		// Token: 0x0600C2E0 RID: 49888 RVA: 0x0020F387 File Offset: 0x0020D587
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueSubStoryCsReq()
		{
		}

		// Token: 0x0600C2E1 RID: 49889 RVA: 0x0020F390 File Offset: 0x0020D590
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueSubStoryCsReq(SelectChessRogueSubStoryCsReq other) : this()
		{
			this.chessRogueSubStoryId_ = other.chessRogueSubStoryId_;
			this.iBGBNAJCIHD_ = other.iBGBNAJCIHD_;
			this.rogueDialogueEventId_ = other.rogueDialogueEventId_;
			this.iCCDOBIGCLN_ = other.iCCDOBIGCLN_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C2E2 RID: 49890 RVA: 0x0020F3E4 File Offset: 0x0020D5E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueSubStoryCsReq Clone()
		{
			return new SelectChessRogueSubStoryCsReq(this);
		}

		// Token: 0x1700372F RID: 14127
		// (get) Token: 0x0600C2E3 RID: 49891 RVA: 0x0020F3EC File Offset: 0x0020D5EC
		// (set) Token: 0x0600C2E4 RID: 49892 RVA: 0x0020F3F4 File Offset: 0x0020D5F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueSubStoryId
		{
			get
			{
				return this.chessRogueSubStoryId_;
			}
			set
			{
				this.chessRogueSubStoryId_ = value;
			}
		}

		// Token: 0x17003730 RID: 14128
		// (get) Token: 0x0600C2E5 RID: 49893 RVA: 0x0020F3FD File Offset: 0x0020D5FD
		// (set) Token: 0x0600C2E6 RID: 49894 RVA: 0x0020F405 File Offset: 0x0020D605
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IBGBNAJCIHD
		{
			get
			{
				return this.iBGBNAJCIHD_;
			}
			set
			{
				this.iBGBNAJCIHD_ = value;
			}
		}

		// Token: 0x17003731 RID: 14129
		// (get) Token: 0x0600C2E7 RID: 49895 RVA: 0x0020F40E File Offset: 0x0020D60E
		// (set) Token: 0x0600C2E8 RID: 49896 RVA: 0x0020F416 File Offset: 0x0020D616
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RogueDialogueEventId
		{
			get
			{
				return this.rogueDialogueEventId_;
			}
			set
			{
				this.rogueDialogueEventId_ = value;
			}
		}

		// Token: 0x17003732 RID: 14130
		// (get) Token: 0x0600C2E9 RID: 49897 RVA: 0x0020F41F File Offset: 0x0020D61F
		// (set) Token: 0x0600C2EA RID: 49898 RVA: 0x0020F427 File Offset: 0x0020D627
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ICCDOBIGCLN
		{
			get
			{
				return this.iCCDOBIGCLN_;
			}
			set
			{
				this.iCCDOBIGCLN_ = value;
			}
		}

		// Token: 0x0600C2EB RID: 49899 RVA: 0x0020F430 File Offset: 0x0020D630
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectChessRogueSubStoryCsReq);
		}

		// Token: 0x0600C2EC RID: 49900 RVA: 0x0020F440 File Offset: 0x0020D640
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectChessRogueSubStoryCsReq other)
		{
			return other != null && (other == this || (this.ChessRogueSubStoryId == other.ChessRogueSubStoryId && this.IBGBNAJCIHD == other.IBGBNAJCIHD && this.RogueDialogueEventId == other.RogueDialogueEventId && this.ICCDOBIGCLN == other.ICCDOBIGCLN && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C2ED RID: 49901 RVA: 0x0020F4AC File Offset: 0x0020D6AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChessRogueSubStoryId != 0U)
			{
				num ^= this.ChessRogueSubStoryId.GetHashCode();
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num ^= this.IBGBNAJCIHD.GetHashCode();
			}
			if (this.RogueDialogueEventId != 0U)
			{
				num ^= this.RogueDialogueEventId.GetHashCode();
			}
			if (this.ICCDOBIGCLN != 0U)
			{
				num ^= this.ICCDOBIGCLN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C2EE RID: 49902 RVA: 0x0020F536 File Offset: 0x0020D736
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C2EF RID: 49903 RVA: 0x0020F53E File Offset: 0x0020D73E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C2F0 RID: 49904 RVA: 0x0020F548 File Offset: 0x0020D748
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RogueDialogueEventId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.RogueDialogueEventId);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.ChessRogueSubStoryId);
			}
			if (this.ICCDOBIGCLN != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.ICCDOBIGCLN);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.IBGBNAJCIHD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C2F1 RID: 49905 RVA: 0x0020F5DC File Offset: 0x0020D7DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChessRogueSubStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueSubStoryId);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IBGBNAJCIHD);
			}
			if (this.RogueDialogueEventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RogueDialogueEventId);
			}
			if (this.ICCDOBIGCLN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ICCDOBIGCLN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C2F2 RID: 49906 RVA: 0x0020F664 File Offset: 0x0020D864
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectChessRogueSubStoryCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChessRogueSubStoryId != 0U)
			{
				this.ChessRogueSubStoryId = other.ChessRogueSubStoryId;
			}
			if (other.IBGBNAJCIHD != 0U)
			{
				this.IBGBNAJCIHD = other.IBGBNAJCIHD;
			}
			if (other.RogueDialogueEventId != 0U)
			{
				this.RogueDialogueEventId = other.RogueDialogueEventId;
			}
			if (other.ICCDOBIGCLN != 0U)
			{
				this.ICCDOBIGCLN = other.ICCDOBIGCLN;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C2F3 RID: 49907 RVA: 0x0020F6DC File Offset: 0x0020D8DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C2F4 RID: 49908 RVA: 0x0020F6E8 File Offset: 0x0020D8E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 24U)
				{
					if (num == 16U)
					{
						this.RogueDialogueEventId = input.ReadUInt32();
						continue;
					}
					if (num == 24U)
					{
						this.ChessRogueSubStoryId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.ICCDOBIGCLN = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.IBGBNAJCIHD = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004EAE RID: 20142
		private static readonly MessageParser<SelectChessRogueSubStoryCsReq> _parser = new MessageParser<SelectChessRogueSubStoryCsReq>(() => new SelectChessRogueSubStoryCsReq());

		// Token: 0x04004EAF RID: 20143
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004EB0 RID: 20144
		public const int ChessRogueSubStoryIdFieldNumber = 3;

		// Token: 0x04004EB1 RID: 20145
		private uint chessRogueSubStoryId_;

		// Token: 0x04004EB2 RID: 20146
		public const int IBGBNAJCIHDFieldNumber = 13;

		// Token: 0x04004EB3 RID: 20147
		private uint iBGBNAJCIHD_;

		// Token: 0x04004EB4 RID: 20148
		public const int RogueDialogueEventIdFieldNumber = 2;

		// Token: 0x04004EB5 RID: 20149
		private uint rogueDialogueEventId_;

		// Token: 0x04004EB6 RID: 20150
		public const int ICCDOBIGCLNFieldNumber = 8;

		// Token: 0x04004EB7 RID: 20151
		private uint iCCDOBIGCLN_;
	}
}
